 <{extends file="<{$tempdir}>/public/admin.html"}> 
   <{block name=extendjs}>
<script type="text/javascript" language="javascript" src="<{$siteurl}>/templates/<{$tempdir}>/public/js/artdialog/plugins/iframeTools.js"></script>
 <{/block}>
 <{block name=controlname}><span style="color:#ffffff;      font-size: 16px;   padding: 7px 10px;cursor:pointer;background: #ec7501;"><a style="color:#fff;" href="<{ofunc type=url link="/adminpage/shop/module/addshop"}>">单个添加店铺</a></span>   
 <span style="  cursor:pointer;margin-left:40px;"><a href="<{ofunc type=url link="/adminpage/shop/module/moreaddshop"}>">批量添加店铺</a></span><{/block}>
 <{block name=bodylist}> 
   <div style="width:98%;overflow-y:auto;white-space:nowrap;">  
      	
          <div class="tags"> 
           
          <div id="tagscontent">
            <form method="post" name="form1" action="<{ofunc type=url link="/adminpage/shop/module/saveshop/datatype/json"}>" onsubmit="return subform('<{ofunc type=url link="/adminpage/shop/module/adminshopwati"}>',this);">
              <div>
                <table border="0" cellspacing="2" cellpadding="4" class="list" name="table" id="table" width="100%">
                  <tbody>
                    <tr onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="ffffff">
                      <td class="left">&nbsp;</td>
                      <td>已存在会员新建店铺到此用户下</td>
                    </tr> 
                    <tr onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="ffffff">
                      <td class="left">店铺名称</td>
                      <td><input type="text" name="shopname" id="shopname" value="" class="skey" style="width:150px;" ></td>
                    </tr> 
                    <tr onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="ffffff">
                      <td class="left">会员名称</td>
                      <td><input type="text" name="username" id="username" value="" class="skey" style="width:150px;" ></td>
                    </tr> 
                    <tr onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="ffffff">
                      <td class="left">店铺类型</td>
                      <td><select name="shoptype">
                 	<{foreach from=$catlist item=itv}>
													<option value="<{$itv['cattype']}>_<{$itv['id']}>"  ><{$catarr[$itv['cattype']]}>-<{$itv['name']}></option>
													<{/foreach}>
							
                      </select>
                      	</td>
                    </tr> 
                    <tr onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="ffffff">
                      <td class="left">所属城市</td>
                      <td><select name="admin_id">
                      	<option value="0">请选择所属城市</option>
                      	<{foreach from=$citylist key=mykey item=items}>
                      	<option value="<{$items['adcode']}>"><{$items['name']}></option>      
                      		<{/foreach}>                	
                      </select>
                      	</td>
                    </tr> 
                  
                  </tbody>
                </table>
              </div>
              <div class="blank20"></div> 
              <input type="hidden" name="subtype" value="1">
               <input type="submit" value="确认提交" class="button">  
            </form>
          </div>
          <div id="tagscontent">
            <form method="post" name="form1" action="<{ofunc type=url link="/adminpage/shop/module/saveshop/datatype/json"}>" onsubmit="return subform('<{ofunc type=url link="/adminpage/shop/module/adminshoplist"}>',this);">
              <div>
                <table border="0" cellspacing="2" cellpadding="4" class="list" name="table" id="table" width="100%">
                  <tbody>
                    <tr onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="ffffff">
                      <td class="left">&nbsp;</td>
                      <td>直接创建会员和店铺</td>
                    </tr> 
                    <tr onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="ffffff">
                      <td class="left">店铺名称</td>
                      <td><input type="text" name="shopname" id="shopname" value="" class="skey" style="width:150px;" ></td>
                    </tr> 
                    <tr onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="ffffff">
                      <td class="left">会员名称</td>
                      <td><input type="text" name="username" id="username" value="" class="skey" style="width:150px;" ></td>
                    </tr> 
                   <tr onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="ffffff">
                      <td class="left">会员邮箱</td>
                      <td><input type="text" name="email" id="email" value="" class="skey" style="width:150px;" ></td>
                    </tr> 
                    <tr onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="ffffff">
                      <td class="left">联系电话</td>
                      <td><input type="text" name="maphone" id="maphone" value="" class="skey" style="width:150px;" ></td>
                    </tr> 
                    <tr onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="ffffff">
                      <td class="left">登陆密码</td>
                      <td><input type="text" name="password" id="password" value="" class="skey" style="width:150px;" ></td>
                    </tr> 
                    <tr onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="ffffff">
                      <td class="left">确认密码</td>
                      <td><input type="text" name="password2" id="password2" value="" class="skey" style="width:150px;" ></td>
                    </tr> 
                    <tr onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="ffffff">
                      <td class="left">店铺类型</td>
                      <td><select name="shoptype">
                    
												<{foreach from=$catlist item=itv}>
													<option value="<{$itv['cattype']}>_<{$itv['id']}>"   ><{$catarr[$itv['cattype']]}>-<{$itv['name']}></option>
													<{/foreach}>
						
                      </select>
                      	</td>
                    </tr> 
                    <tr onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="ffffff">
                      <td class="left">所属城市</td>
                       <td><select name="admin_id">
                      	<option value="0">请选择所属城市</option>
                      	<{foreach from=$citylist key=mykey item=items}>
                      	<option value="<{$items['adcode']}>"><{$items['name']}></option>      
                      		<{/foreach}>                	
                      </select>
                      	</td>
                    </tr> 
                  </tbody>
                </table>
              </div>
              <div class="blank20"></div> 
               <input type="hidden" name="subtype" value="2">
               <input type="submit" value="确认提交" class="button">  
            </form>
          </div>
        </div>
        <div class="blank20"></div> 
      
      </div>
      <div class="clear"></div>
    </div>
    <div class="clear"></div>


 </div> 
  
<{/block}>